package valve_test.forms;

/**
 * Created with IntelliJ IDEA.
 * User: Shinigami
 * Date: 08.07.14
 * Time: 7:20
 * To change this template use File | Settings | File Templates.
 */
public class control {
    public static view_valves ViewValves = null;
    public static graph_valves GraphValves = null;

    public static void ViewValvesForm() {
        if (ViewValves == null)
            ViewValves = new view_valves();
        else {
            ViewValves.getModel(); // Обновление формы
            ViewValves.Show();
        }
    }

    public static void GraphValvesForm() {
        if (GraphValves == null)
            GraphValves = new graph_valves();
        else {
            GraphValves.Show();
        }
    }

}
